package it.koutifaris.travianmap.dal;

import it.koutifaris.travianmap.dal.TravianServerService.TravianServer;

public interface TravianServerSettingsService extends Closeable {

	void saveSettings(TravianServerSettings settings);

	TravianServerSettings getSettginsFor(String server);

	boolean deleteSettings(TravianServer server);

	int deleteAllSettings();

	interface TravianServerSettings {
		String getServer();

		boolean isAutoUpdate();

		boolean isWifiOnly();
	}
}
